package com.stadium.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 比赛事件记录表
 *
 * @author wsl
 * @email
 * @date 2021-06-14 22:19:04
 */
@Data
@ApiModel(value = "比赛事件记录表Vo")
public class BasicsRecordVo {
    private static final long serialVersionUID = 1L;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "id")
    private String id;

    @Length(min = 0, max = 100)
    @ApiModelProperty(value = "赛事")
    private String eventId;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "比赛id")
    private String scheduleId;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "队伍id")
    private String teamId;

    @ApiModelProperty(value = "事件人id")
    private String userId;

    @Length(min = 0, max = 1000)
    @ApiModelProperty(value = "事件内容")
    private String content;

    @Length(min = 0, max = 20)
    @ApiModelProperty(value = "事件code")
    private String code;

    @ApiModelProperty(value = "分值（不涉及分值默认为0）")
    private Integer score;

    @ApiModelProperty(value = "第几节")
    private Integer period;

    @ApiModelProperty(value = "事件发生时间")
    private Date occurrenceTime;

}
